package com.neuronbit.businessflow.intellij.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * The type Join.
 */
@Getter
@Setter
public class Join extends Node implements Serializable {
    private Integer timeout;

    /**
     * Instantiates a new Join.
     */
    public Join() {
        this(null, "Join");
    }

    /**
     * Instantiates a new Join.
     *
     * @param id   the id
     * @param name the name
     */
    public Join(String id, String name) {
        super(id, name, NodeType.JOIN);
    }
}
